package com.example.b_308.software.view.user;

import android.os.Bundle;
import android.provider.Settings;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import com.example.b_308.software.R;
import com.example.b_308.software.comment.view.title.TitleBar;
import com.example.b_308.software.view.base.BaseActivity;

/**
 * Created by B-308 on 2017/11/29.
 */
public class ForgetpwActivity extends BaseActivity implements  View.OnClickListener{
    ImageView iv_return;
    Button click_get,but_next;

    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initView();
        initListener();
    }

    private void initListener() {
        iv_return.setOnClickListener(this);
        click_get.setOnClickListener(this);
        but_next.setOnClickListener(this);
    }


    private void initView() {
        setContentView(R.layout.activity_forget);
        iv_return= (ImageView) findViewById(R.id.iv_return);
        click_get= (Button) findViewById(R.id.click_get);
        but_next= (Button) findViewById(R.id.but_next);
    }


    public void fail(String message) {}

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.iv_return:
                tent2(LoginActivity.class);break;
            case R.id.but_next:
                tent2(ResetPassActivity.class);break;
        }

}
}
